package com.example.k8s.hello.bean.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 系统配置信息
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@Accessors(chain = true)
@TableName("sys_config")
@Schema(description = "系统配置信息")
public class SysConfigEntity {
	@TableId
	private Long id;

	@NotBlank(message="参数名不能为空")
	@Schema(description = "参数名")
	private String paramKey;

	@NotBlank(message="参数值不能为空")
	@Schema(description = "参数值")
	private String paramValue;

	@Schema(description = "状态 0：隐藏   1：显示")
	private Integer status;

	@Schema(description = "备注")
	private String remark;
}
